Unsolved
This post is more than 5 years old
2 Intern
•
50 Posts
0
997
May 25th, 2008 00:00
Standalone CIFS server and User quotas
Hi,
I created a Standalone Cifs server and add users on it.
It's alway failed when I set the user quota (NOT default setting) because it is NOT domain exist.
What is the correct approach to set the user quotas for the individual user ?
Thanks in advance!
Ray
I created a Standalone Cifs server and add users on it.
It's alway failed when I set the user quota (NOT default setting) because it is NOT domain exist.
What is the correct approach to set the user quotas for the individual user ?
Thanks in advance!
Ray
No Events found!


Rainer_EMC
6 Operator
•
8.6K Posts
0
May 29th, 2008 13:00
I would suggest to open a service request
Chenxt
2 Intern
•
50 Posts
0
August 5th, 2009 10:00
[root@emc-nas-02 nasadmin]# .server_config server_2 -v "usrmap dump"
server_2 : commands processed: 1
command(s) succeeded
output is complete
1249490030: USRMAP:11: Database locked for dumpTable
1249490030: USRMAP: 6: Usermapper Database
1249490030: USRMAP: 6:
1249490030: USRMAP: 6: UID DUMP:
1249490030: USRMAP: 6: S-1-5-15-32434d45-1a41-27f6f0ba-1f4:*:32768:32768:user administrator from domain nas02:/usr/S-1-5-15-32434d45-1a41-27f6f0ba-1f4:/bin/sh
1249490030: USRMAP: 6: S-1-5-15-32434d45-1a41-27f6f0ba-3e9:*:32769:32768:user emc03 from domain nas02:/usr/S-1-5-15-32434d45-1a41-27f6f0ba-3e9:/bin/sh
1249490030: USRMAP: 6:
1249490030: USRMAP: 6: GID DUMP:
1249490030: USRMAP: 6:
1249490030: USRMAP: 6: last message repeated 1 times
1249490030: USRMAP:11: Database unlocked
1249490030: ADMIN: 6: Command succeeded: usrmap dump
per above , we have 2 users administrator & emc03, Standalone server: NAS02
I like to set particular quotas for user emc03, I had tried below 2 method:
1) windows name: emc03, windows domain : NAS02,
got the msg: Mapping between the SIDs for the given users and their UIDs were not found.
2)
Unix IDs: 32769
not error occurred, but from CLI, I found below results which confused me:
[root@emc-nas-02 nasadmin]# nas_quotas -report -user -fs fs1
Report for user quotas on filesystem fs1 mounted on /fs1
+------------+---------------------------------+-------------------------------+
|User | Bytes Used (1K) | Files |
+------------+--------+-------+-------+--------+--------+------+------+--------+
| | Used | Soft | Hard |Timeleft| Used | Soft | Hard |Timeleft|
+------------+--------+-------+-------+--------+--------+------+------+--------+
|#2151678452 | 0| 0| 0| | 1| 0| 0| |
|#2151678953 | 2596| 0| 0| | 2| 0| 0| |
+------------+--------+-------+-------+--------+--------+------+------+--------+
[root@emc-nas-02 nasadmin]# nas_quotas -report -user -fs fs1 -path /fs1_dir1
Report for user quotas on quota tree /fs1_dir1 on filesystem fs1 mounted on /fs1
+------------+---------------------------------+-------------------------------+
|User | Bytes Used (1K) | Files |
+------------+--------+-------+-------+--------+--------+------+------+--------+
| | Used | Soft | Hard |Timeleft| Used | Soft | Hard |Timeleft|
+------------+--------+-------+-------+--------+--------+------+------+--------+
|#32769 | 0| 5120| 10240| | 0| 0| 0| |
Of course the quotas test was falled, we could easily exceed the directory /fs1_dir1 .
If I filled in as below:
Unix IDs: 2151678953
server_log:
2009-08-06 01:55:49: SMB: 3: Bad sid format 2151678953
2009-08-06 01:55:49: SMB: 3: xml_lookupname: invalid SID format 2151678953.
2009-08-06 01:55:58: SECURITY: 3: No passwd for user name 2151678953
Anyone can help explain the quotas setting exactly for this example?
What is the mistake I had made and how to correct it?
Thanks!!
Peter_EMC
674 Posts
0
August 5th, 2009 23:00
Usrmapper is not used for standalone cifs server.
The local user accounts are stored in the local groups database on the CIFS server
"Local user accounts are for CIFS access only and cannot be mapped to UNIX
accounts. Local user accounts are not assigned UIDs using the mapping methods used for
domain users"
Rainer_EMC
6 Operator
•
8.6K Posts
0
August 6th, 2009 05:00
server_cifssupport should be able to show you which UID's they use
Chenxt
2 Intern
•
50 Posts
0
August 8th, 2009 01:00
Rainer, would you please give the sample of how to use server_cifssupport to identify the UID of Standalone Users with the above example? I tried several times but failed.
Further more, we can only use the Unix ID to set quotas for standalone users?
Thanks!