Jules Houantonon
2016-Apr-05 16:25 UTC
[Samba] chgrp "Domain Admins" on folder return invalid group "Domain Admins" #Solved#
OK thank you very much. Regards On Tue, Apr 5, 2016 at 3:36 PM, Rowland penny <rpenny at samba.org> wrote:> On 05/04/16 15:26, Jules Houantonon wrote: > >> Please, strangely >> >> In AD the user demo have /bin/sh as its shell and with getent we have >> /bin/false. >> >> Is it normal ? >> >> >> > Yes, it is normal on a DC, the only things obtained from AD are uidNumber > & gidNumber attributes. > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- Jules HOUANTONON *Phone* : (00229) 97578914 *Email *: juleshoueto at gmail.com *Skype* : houantonon *linkedin* : www.linkedin.com/in/jhouantonon/en
Howard Fleming
2016-Apr-18 13:25 UTC
[Samba] problems with "net rpc shutdown" and smbclient after upgrade to samba 3.6.23
Good morning, Since the upgrade to samba 3.6.23 (Centos 6.7) last week, smbclient and "net rcp shutdown" are no longer working on my network. A nightly a script runs that shuts down any workstations that have been left on: net rpc -I 192.168.1.63 SHUTDOWN -U username%password or net rpc -S workstation-name SHUTDOWN -U username%password Before the update, this would shutdown the workstations without any problems. Now I get these errors: Could not connect to server 192.168.1.63(or name) Connection failed: NT_STATUS_ACCESS_DENIED I also have another script that backs up quickbooks on an accounting workstation. The script powers up the workstation, then runs: /usr/bin/smbclient //192.168.1.105/qbdata -A /root/scripts/.qbsmbpw -Tc $thedate-qbdata.tar Now I get this error for the above command: session request to 192.168.1.105 failed (Called name not present) session setup failed: NT_STATUS_LOGON_FAILURE I have spent the last few days looking for a solution to the problem, so far no luck. Any suggestions? In case this helps, Global section from smb.conf: [global] socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384 workgroup = MEINW server string = MEI Samba Server Version %v log file = /var/log/samba/%m.log max log size = 100 add user script = /usr/sbin/useradd "%u" -n -g users delete user script = /usr/sbin/userdel "%u" add group script = /usr/sbin/groupadd "%g" delete group script = /usr/sbin/groupdel "%g" delete user from group script = /usr/sbin/userdel "%u" "%g" add machine script = /var/lib/samba/scripts/machineadd.sh "%u" logon path logon drive = U: domain logons = Yes os level = 255 preferred master = Yes domain master = Yes cups options = raw smb ports=139 445 server signing = mandatory lanman auth = yes ntlm auth = yes raw NTLMv2 auth = yes If there is any additional info needed, please let me know. Thanks, Howard
Reasonably Related Threads
- chgrp "Domain Admins" on folder return invalid group "Domain Admins"
- chgrp "Domain Admins" on folder return invalid group "Domain Admins"
- chgrp "Domain Admins" on folder return invalid group "Domain Admins"
- chgrp "Domain Admins" on folder return invalid group "Domain Admins"
- chgrp "Domain Admins" on folder return invalid group "Domain Admins"