search for: login_shel

Displaying 20 results from an estimated 24 matches for "login_shel".

Did you mean: login_shell
2014 Aug 05
1
samba-tool syntax error?
...RROR(<type 'exceptions.ValueError'>): Failed to add user 'user': - unable to parse dn string File "/home/vms/devbin/lib/python2.7/site-packages/samba/netcmd/user.py", line 176, in run uid=uid, uidnumber=uid_number, gidnumber=gid_number, gecos=gecos, loginshell=login_shell) File "/home/vms/devbin/lib/python2.7/site-packages/samba/samdb.py", line 407, in newuser ldbmessage2.dn = ldb.Dn(self, user_dn) Since it didn't detect a syntax error, I assume there is something worse.. But I don't really know why it would fail to parse the dn string --...
2015 Nov 10
3
Unable to use samba-tool
...ssword: ERROR(<type 'exceptions.ValueError'>): Failed to add user 'edward': - unable to parse dn string File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line 176, in run uid=uid, uidnumber=uid_number, gidnumber=gid_number, gecos=gecos, loginshell=login_shell) File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 343, in newuser dnsdomain = ldb.Dn(self, self.domain_dn()).canonical_str().replace("/", "") ---------------------------------------------- samba-tool user list ltdb: tdb(/var/lib/samba/private/sam.l...
2015 Oct 07
1
samba-tool user add
...,DC=cu - ../ldb_tdb/ldb_index.c:1148: unique index violation on objectSid in CN=pepito,CN=Users,DC=dtnorte,DC=etecsa,DC=c File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line 176, in run uid=uid, uidnumber=uid_number, gidnumber=gid_number, gecos=gecos, loginshell=login_shell) File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 422, in newuser self.add(ldbmessage) root at nbn-2:~# this is may smb.conf root at nbn-2:~# cat /etc/samba/smb.conf [global] workgroup = dtnorte realm = DTNORTE.ETECSA.CU netbios name = nbn-2 ser...
2015 Jan 29
3
rfc2307 deprecated in Windows 2012 R2?
...ite your own powershell-script you would set properties for users and groups using these two cmdlets and some foreach-logic looping over your search bases, users and groups: Set-ADUser -Identity $username -Replace @{uidNumber=$uid;gidNumber=$primary_group_gid;unixHomeDirectory=$homedir;loginShell=$login_shell} Set-ADGroup -Identity $groupname -Replace @{gidNumber=$gid} On 29 January 2015 at 21:24, Lars Hanke <debian at lhanke.de> wrote: > Am 29.01.2015 um 21:12 schrieb Tim: >> >> But if they take it away how to set them in future? > > > If you need NIS, you probably have...
2015 Jan 29
2
rfc2307 deprecated in Windows 2012 R2?
...properties for users and groups using these two cmdlets and some >> foreach-logic looping over your search bases, users and groups: >> >> Set-ADUser -Identity $username -Replace >> >> @{uidNumber=$uid;gidNumber=$primary_group_gid;unixHomeDirectory=$homedir;loginShell=$login_shell} >> >> Set-ADGroup -Identity $groupname -Replace @{gidNumber=$gid} >> >> On 29 January 2015 at 21:24, Lars Hanke <debian at lhanke.de> wrote: >>> >>> Am 29.01.2015 um 21:12 schrieb Tim: >>>> >>>> >>>> But if they...
2015 Nov 10
1
Unable to use samba-tool
...ror'>): Failed to add user 'edward': - >> unable to parse dn string >> File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line >> 176, in run >> uid=uid, uidnumber=uid_number, gidnumber=gid_number, gecos=gecos, >> loginshell=login_shell) >> File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 343, in >> newuser >> dnsdomain = ldb.Dn(self, >> self.domain_dn()).canonical_str().replace("/", "") >> >> ---------------------------------------------- >&...
2015 Jan 30
3
rfc2307 deprecated in Windows 2012 R2?
...hese two cmdlets and some >>>> foreach-logic looping over your search bases, users and groups: >>>> >>>> Set-ADUser -Identity $username -Replace >>>> >>>> @{uidNumber=$uid;gidNumber=$primary_group_gid;unixHomeDirectory=$homedir;loginShell=$login_shell} >>>> >>>> Set-ADGroup -Identity $groupname -Replace @{gidNumber=$gid} >>>> >>>> On 29 January 2015 at 21:24, Lars Hanke <debian at lhanke.de> wrote: >>>>> Am 29.01.2015 um 21:12 schrieb Tim: >>>>>> >>&g...
2015 Nov 10
0
Unable to use samba-tool
...9;exceptions.ValueError'>): Failed to add user 'edward': - > unable to parse dn string > File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line > 176, in run > uid=uid, uidnumber=uid_number, gidnumber=gid_number, gecos=gecos, > loginshell=login_shell) > File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 343, in > newuser > dnsdomain = ldb.Dn(self, > self.domain_dn()).canonical_str().replace("/", "") > > ---------------------------------------------- > > samba-tool user lis...
2011 Jan 13
3
/etc/bashrc causing probs..
Hello,i've appended the below to /etc/bashrc, which is causing an error once i try to rsync using ssh to this specific box.any idea how to prevent bashrc to execute the below to a no login shell ? or any other advice for that matter. if [ $(id -u) -eq 0 ];then # you are rootecho "###############################################"echo "### You are now working as ROOT.
2015 Oct 07
0
Tr : RE: samba-tool user add
...db_index.c:1148: unique index violation on objectSid in > CN=pepito,CN=Users,DC=dtnorte,DC=etecsa,DC=c > File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line > 176, in run > uid=uid, uidnumber=uid_number, gidnumber=gid_number, gecos=gecos, > loginshell=login_shell) > File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 422, in > newuser > self.add(ldbmessage) > root at nbn-2:~# > > this is may smb.conf > > root at nbn-2:~# cat /etc/samba/smb.conf > [global] > workgroup = dtnorte > realm =...
2015 Jan 29
0
rfc2307 deprecated in Windows 2012 R2?
...ell-script you would >set properties for users and groups using these two cmdlets and some >foreach-logic looping over your search bases, users and groups: > >Set-ADUser -Identity $username -Replace >@{uidNumber=$uid;gidNumber=$primary_group_gid;unixHomeDirectory=$homedir;loginShell=$login_shell} > >Set-ADGroup -Identity $groupname -Replace @{gidNumber=$gid} > >On 29 January 2015 at 21:24, Lars Hanke <debian at lhanke.de> wrote: >> Am 29.01.2015 um 21:12 schrieb Tim: >>> >>> But if they take it away how to set them in future? >> >> &gt...
2013 Jan 21
0
Custom locale, LC_TYPE and urxvt
...ot;$PS1" ]; then . "$i" else . "$i" >/dev/null 2>&1 fi fi done unset i unset pathmunge fi However, when I look for the mate to that final 'fi' I find this: . . . if ! shopt -q login_shell ; then # We're not a login shell # Need to redefine pathmunge, it get's undefined at the end of /etc/profile pathmunge () . . . Evidently /etc/profile.d/lang.sh only gets processed by /etc/bashrc if I am NOT in a login shell. The question then is: when does /etc/profile.d/lang....
2015 Jan 29
0
rfc2307 deprecated in Windows 2012 R2?
...s and groups using these two cmdlets and some >>> foreach-logic looping over your search bases, users and groups: >>> >>> Set-ADUser -Identity $username -Replace >>> >>> @{uidNumber=$uid;gidNumber=$primary_group_gid;unixHomeDirectory=$homedir;loginShell=$login_shell} >>> >>> Set-ADGroup -Identity $groupname -Replace @{gidNumber=$gid} >>> >>> On 29 January 2015 at 21:24, Lars Hanke <debian at lhanke.de> wrote: >>>> >>>> Am 29.01.2015 um 21:12 schrieb Tim: >>>>> >>>>&g...
2011 Jun 30
4
sshd and .bashrc
...te commands via a non-interactive single-command connection. He was right. The problem stemmed from the fact that bash contains the following in run_startup_files(), which gets called to determine which dotfiles (if any) to source ... if (interactive_shell == 0 && no_rc == 0 && login_shell == 0 && act_like_sh == 0 && command_execution_string) { #ifdef SSH_SOURCE_BASHRC run_by_ssh = (find_variable ("SSH_CLIENT") != (SHELL_VAR *)0) || (find_variable ("SSH2_CLIENT") != (SHELL_VAR *)0); #else run_by_ssh = 0; #endif /*...
2015 Jan 29
3
rfc2307 deprecated in Windows 2012 R2?
But if they take it away how to set them in future? Am 29. Januar 2015 19:50:22 MEZ, schrieb Andrew Bartlett <abartlet at samba.org>: >On Wed, 2015-01-28 at 17:22 +0100, Tim wrote: >> I got the chance to test samba 4 with windows 2012 R2 domain >> controller on its highest functional level. >> >> Possibly it's important to know that M$ says that the
2015 Apr 30
2
Full list of options when using samba-tool user create
...User's Unix/RFC2307 username --uid-number=UID_NUMBER User's Unix/RFC2307 numeric UID --gid-number=GID_NUMBER User's Unix/RFC2307 primary GID number --gecos=GECOS User's Unix/RFC2307 GECOS field --login-shell=LOGIN_SHELL User's Unix/RFC2307 login shell ------------------------------------------------------------------------------------------------------------ >8 while I am able to use few extra options like the following: --nis-domain --uid-number --unix-home in particular I...
2015 Jan 30
0
rfc2307 deprecated in Windows 2012 R2?
...;> foreach-logic looping over your search bases, users and groups: >>>>> >>>>> Set-ADUser -Identity $username -Replace >>>>> >>>>> >>>>> @{uidNumber=$uid;gidNumber=$primary_group_gid;unixHomeDirectory=$homedir;loginShell=$login_shell} >>>>> >>>>> Set-ADGroup -Identity $groupname -Replace @{gidNumber=$gid} >>>>> >>>>> On 29 January 2015 at 21:24, Lars Hanke <debian at lhanke.de> wrote: >>>>>> >>>>>> Am 29.01.2015 um 21:12 sch...
2015 Dec 07
4
userid shows 4294967295
I'm coming from a Debian system so my system accounts are below 1000, regular accounts start at 1000. For some historical reason somebody gave our main group id 500 so therefor I want my usable range to start at 500. Do I need both idmap config *:range and idmap config SAMDOM:range? I also tried with only 'idmap config *:range' but that didn't seem to help. I'll try again
2000 Dec 06
8
openssh-SNAP-20001207 scp "Bad file descriptor" sort-of work-around
Everything seems to work, though I still have trouble with scp. The behaviour is not protocol dependent - acts the same with either. (Using RedHat 6.2) When I scp <file> <host>:<dir>, bash is invoked as a login shell on the server side host - this doesn't seem right. With my /etc/profile, I get Dec 6 15:06:20 amethyst sshd[3027]: error: select: Bad file descriptor in
2008 Mar 06
0
[ANNOUNCE] xorg-server 1.4.99.901
...XQuartz: Cleaned up color map configuration. XQuartz: Flush the debug log for easier debugging XQuartz: Fixed copyright in About box for 2008. Happy New Year! XQuartz: Cleanup for strict-prototyping XQuartz: Fixed switching into XQuartz via expose. XQuartz: added 'login_shell' option to defaults XQuartz: Corrected copyright X.org Project -> X.org Foundation XQuartz: Fixed copy-paste error with login_shell commit XQuartz: Moved SetFrontProcess haco to set_front_process Rootless: RootlessEnsureFrame: Added check for !IsRoot XQuartz: C...