search for: net_leave

Displaying 3 results from an estimated 3 matches for "net_leave".

2016 Apr 20
4
Ubuntu 14.04 samba update
...k '{print $1}'` joined `date "+%F"`" OSVERSION="`lsb_release -a|grep "^Release:"|cut -d: -f2|awk '{print $1}'`" net ads join -U $admin osName="${OSNAME}" osVersion="${OSVERSION}" Here is my script to leave the domain. I call it net_leave.sh read admin net ads leave -U $admin Here is my script to clear the winbind cache with a change from samba to smb when samba changed. I call it winbind_clear.sh service winbind stop service smbd stop #service samba stop net cache flush rm -f /var/lib/samba/*.tdb rm -f /var/lib/samba/group_mappi...
2016 Apr 20
0
Ubuntu 14.04 samba update
...39;` joined `date "+%F"`" > OSVERSION="`lsb_release -a|grep "^Release:"|cut -d: -f2|awk '{print $1}'`" > net ads join -U $admin osName="${OSNAME}" osVersion="${OSVERSION}" > > Here is my script to leave the domain. I call it net_leave.sh > > read admin > net ads leave -U $admin > > Here is my script to clear the winbind cache with a change from samba to > smb when samba changed. I call it winbind_clear.sh > > service winbind stop > service smbd stop > #service samba stop > net cache flush > rm...
2016 Apr 20
1
Ubuntu 14.04 samba update
...e "+%F"`" >> OSVERSION="`lsb_release -a|grep "^Release:"|cut -d: -f2|awk '{print $1}'`" >> net ads join -U $admin osName="${OSNAME}" osVersion="${OSVERSION}" >> >> Here is my script to leave the domain. I call it net_leave.sh >> >> read admin >> net ads leave -U $admin >> >> Here is my script to clear the winbind cache with a change from samba to >> smb when samba changed. I call it winbind_clear.sh >> >> service winbind stop >> service smbd stop >> #service...