[Samba] UID and GID mappings

Mark Campbell mcc171 at psu.edu
Mon Aug 13 14:37:59 GMT 2007


With a smb.conf like the following where does samba store the UID to GID 
mappings?  Is there a way to view this?  Also can't I use a method that 
converts SIDs to UIDs and GIDs on a consistent basis?

Thanks

Mark

#======================= Global Settings 
=====================================
[global]

   workgroup = XXX
   server string = Samba Server
   security = ads
   encrypt passwords = yes
   realm = XXX.XXX.EDU
   winbind separator = +
   idmap uid = 10000-20000
   idmap gid = 10000-20000
   template shell = /bin/bash
   homedir = /export/home/%U
   log level = 5
   socket options = TCP_NODELAY


#============================ Share Definitions 
==============================
#[homes]
#   comment = Home Directories
#   browseable = no
#   writable = yes

# A publicly accessible directory, but read only, except for people in
# the "staff" group
[public]
   comment = Public Stuff
   path = /home/samba
   public = yes
   writable = yes
   printable = no
   write list = @XXX+samba



-- 
Mark Campbell
Systems Analyst
Digital Library Technologies
The Pennsylvania State University
mcc171 at psu.edu, 814-865-4774



More information about the samba mailing list