[Samba] Back with my UID problems

Brett Wynkoop wynkoop+samba at wynn.com
Thu Feb 26 16:03:56 MST 2015

On Thu, 26 Feb 2015 22:45:02 +0000
Rowland Penny <rowlandpenny at googlemail.com> wrote:

> Just what do you mean by 'allow no connections' ?? where from ? how?

ivory:~ wynkoop$ smbclient -L prd2
Receiving SMB: Server stopped responding
protocol negotiation failed
ivory:~ wynkoop$ 

and on the server with the samba-tool built config I have these samba
related processes:

root at prd2:/usr/local/etc # ps ax | grep samba
  962  -  I        0:00.01 samba: task[s3fs_parent] (samba)
49471  2  S+       0:00.02 grep samba
root at prd2:/usr/local/etc # 

With the hand made config there were many more samba related processes
and I could connect.  Observe:

root at prd2:/usr/local/etc # service samba_server start
Performing sanity check on Samba configuration: OK
Starting samba.
Processing section "[netlogon]"
Processing section "[sysvol]"
Processing section "[archive]"
pm_process() returned Yes
root at prd2:/usr/local/etc # ps ax | grep samba
49729  -  Ss       0:00.57 /usr/local/sbin/samba --daemon
--configfile=/usr/loc 49730  -  S        0:00.01 samba: task[dcesrv]
(samba) 49731  -  S        0:00.02 samba: task[nbtd] (samba)
49732  -  S        0:00.00 samba: task[wreplsrv] (samba)
49733  -  S        0:00.35 samba: task[ldapsrv] (samba)
49734  -  S        0:00.00 samba: task[cldapd] (samba)
49735  -  S        0:00.01 samba: task[kdc] (samba)
49736  -  S        0:00.01 samba: task[dreplsrv] (samba)
49737  -  S        0:00.00 samba: task[winbind] (samba)
49738  -  S        0:00.00 samba: task[ntp_signd] (samba)
49739  -  S        0:00.00 samba: task[kccsrv] (samba)
49740  -  S        0:00.00 samba: task[smbsrv] (samba)
49742  2  S+       0:00.01 grep samba
root at prd2:/usr/local/etc # 

ivory:~ wynkoop$ smbclient -L prd2
Anonymous login successful
Domain=[WYNN] OS=[Unix] Server=[Samba 4.1.17]

        Sharename       Type      Comment
        ---------       ----      -------
        netlogon        Disk      
        sysvol          Disk      
        archive         Disk      /archive
        IPC$            IPC       IPC Service
Anonymous login successful
Domain=[WYNN] OS=[Unix] Server=[Samba 4.1.17]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
ivory:~ wynkoop$ 

As you can see from the above the samba-tool created config was a
non-starter and the hand tooled config seems to not allow me to set the
UID to match our legacy UIDs which is needed because NFS is not going

prd2 is FreeBSD 10.1 Samba 4.1.17 built fresh yesterday.

ivory is a Mac OS X 10.6 using either the Apple provided smbclient or



wynkoop at wynn.com               http://prd4.wynn.com/wynkoop/pgp-keys.txt

Amendment I

Congress shall make no law respecting an establishment of religion, or 
prohibiting the free exercise thereof; or abridging the freedom of 
speech, or of the press; or the right of the people peaceably to
assemble, and to petition the government for a redress of grievances.

More information about the samba mailing list