[Samba] Back with my UID problems

Brett Wynkoop wynkoop+samba at wynn.com
Thu Feb 26 21:01:48 MST 2015


On Thu, 26 Feb 2015 19:45:31 -0700
Nigel W <nigel.w at nosun.ca> wrote:

> Hello Brett,

> [1]
> https://wiki.samba.org/index.php/Setup_a_Samba_AD_Member_Server#RFC2307
> 
> Hope this helps,

Nigel-

I think I am still at a loss.  after having a look at that page I added 


        idmap uid = 34-1000

to the smb4.conf file.  I then deleted user wynkoop, restarted samba
and added user wynkoop again.  The UID incremented from where it had
previously been.  Just to make sure I did the whole delete and add
again another time.  The results of uploading files from smbclient are
below:

root at prd2:/usr/local/etc # ls -l /archive/test
total 5
-rw-r--r--  1 3000014  wheel  6148 Feb 22 03:37 .DS_Store
-rw-r--r--  1 3000013  wheel   381 Feb 26 22:55 bar
-rw-r--r--  1 3000012  wheel   381 Feb 26 22:45 foo
-rw-r--r--  1 3000011  wheel   381 Feb 26 18:18 profile
root at prd2:/usr/local/etc # 

Do I need to totally wipe out the DB to get it to start at 34?  If I do
that what good is the option to samba-tool to specify a certain GID?

-Brett

 --
 

wynkoop at wynn.com               http://prd4.wynn.com/wynkoop/pgp-keys.txt
917-642-6925
929-272-0000

I would never invade the United States.  There would be a gun behind
every blade of grass.  --Isoroku Yamamoto



More information about the samba mailing list