Displaying 20 results from an estimated 9000 matches similar to: "smbldap-useradd"
2005 Jul 01
3
Samba bdc
I have two serves set up. One will be my PDC (master) and the other
will be my BDC (slave). I have openldap setup and replicating the data
between the two servers.
Everything seems to work fine from the Master, but I have one problem
with the slave. From the slave, I can do an ldapsearch and everthing is
fine. But when I do a 'pdbedit -L', I get the following:
Unknown parameter
2005 Jul 01
2
Domain Users and smbldap-useradd
I noticed that when I create users with smbldap-useradd, the default
group is "Domain Users".
Is this the best user/group default setup for Samba/LDAP?
I'm more familar with the unix user/group setup like max/students or
max/faculty.
Does the user group have to be "Domain Users" when using Samba?
Thanks,
Yasee
smbldap-useradd -m -a username
(where the username is
2006 Jan 02
2
passwords expiring
My passwords have expired again in my LDAP/Samba setup. I have been
reading in the Samba How-To and just want to make sure this is what I
need to do before I try it.
If I want to have my passwords expire in the year 2015, do I need to do
the following to all of my users?
pdbedit --pwd-must-change-time="2015-01-01" --time-format="%Y-%m-%d"
username
Using the ldap-usermod
2005 May 11
1
structuralObjectClass and smbldap-tools
Sorry, if this has been dealt with before, but I couldn't find it.
I tried installing openldap 2.2 + samba 3. Currently I only have one
install of openldap 2.0 and samba 2.2 running.
Now, it all looks quite good, but the smbldap-tools do not add the
necessary structuralobjectClass entries, so using the tools fails.
I was able to manually change the first populate - which could be
exported
2005 Nov 07
1
Passwords expiring
I have a Samba 3 server setup using LDAP for the backend. I keep
getting a message that the passwords will expire. This happened about a
month ago and I did not worry about it, because my XP machines kept
telling me this last year, but they never expired. I figured it was
something to do with XP and not my Samba server. This year though, with
my new server, they did expire and I had to
2005 Aug 18
1
samba-ldap
Well, I am still having problems with my samba server. For some reason,
I cannot add all of the users in. I am running a batch useradd program.
I can get about 450 or so added in, then it gives me an error that the
user does not exist when I go to add the last 60 or so.
My batch program actually reads in the users name and then does
something like:
/opt/IDEALX/sbin/smbldap-useradd -a -u
2005 Nov 10
1
Strange Samba permissions
I have a problem with some Samba permissions. Here is the share.
[bhs]
path = /school/bhs
read only = no
valid users = @teacher @admin @bhs
create mask = 660
force create mode = 2660
directory mask = 770
force directory mode = 3770
T: is mapped to a DFS share with permissions 3777, then the 'bhs' share
is a link in the DFS share.
I get inconsistent
2005 Oct 07
1
User list
I have a samba server setup with LDAP. Before I was using LDAP, I could
get a list of users and groups with my perl script by using the getgrent
and getpwent routines. I cannot use this anymore, because for some
reason, these routines do not see all of my users. They only see up to
a certain point. If I do a 'getent passwd' from the command line, it
only shows up to certain number of
2007 Jul 10
1
scripting smbldap-useradd and smbldap-passwd
Is it possible to script smbldap-useradd and smbldap-passwd to add
users in bulk? Are there any sample scripts anywhere? I can't seem to
find anything.
Thanks,
-Guy
2006 Aug 24
1
Strange permissions problems
I had this problem some last year and never got it figured out. Now it
is bugging me. It seems that sometimes when a student writes his/her
file to a directory, it will not keep the correct group. It puts
his/her main group as the group owner and that fouls things up. Here is
what I have.
Unix Permissions
/school 3777 admin.teacher
/school/bhs 3777 admin.teacher
/school/bhs/reese
2005 May 17
2
net command replacements for smbldap-tools
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I sure would like to see a series of net commands that could replace
smbldap-tools. Wouldn't this be more appropriate for administration?
Jim C.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCiZquB4AhF6wVFMERAnsQAJ0XDMb3aeaSHFpVsP3s50ylIIuh6gCdHdX0
2004 Jan 12
1
problem with smbldap-useradd.pl
hi.
i?m having big trouble with smbldap-useradd.pl
when i try
#cd /usr/local/bin
#./smbldap-useradd -a test
i got this message:
Can't call method "get_value" on an undefined value at ./smbldap-useradd.pl line 152, <DATA> line 283.
help please!!!??
[]?s
Bruno Ricci
2005 Oct 23
1
test platform - samba + ldap issue smbldap-useradd hangs
Hello Guys,
About a week ago I wrote in with a issue with smbldap-populate; it wouldn't
populate because it was missing some packages. This has since been resolved.
I am running redhat 9 on a test server, just for more experience really; I
am using redhat 9 because of a scsi raid driver needed, please do not ask
about this.
Ok so here is where I am at> I have been using Samba 3 by
2008 Mar 27
0
smbldap-useradd will not add sambaSamAccount objectClass
I'm having an issue adding a sambaSamAccount objectClass to my machine
accounts when running smbldap-useradd -w "machine$"
It doesn't create samba attributes, but will create the account.
In the smbldaap-useradd code, sambaSamAccount is sambaSAMAccount, but I
don't know if that's what's doing it. the samba.schema file has
sambaSamAccount defined.
Someone having
2002 May 09
1
Error when running smbldap-useradd.pl -a
Hi!
I'm following the idealx setup on setting up Samba as a PDC with a LDAP
backend.
It says, to add a user, one should do:
smbldap-useradd.pl -a -m -g 900 administrator
This gives me the following error message:
ldap_modify: Object class violation
additional info: object class 'sambaAccount' requires attribute 'rid'
ldif_record() = 65
2003 Oct 15
1
machine accounts aren't added properly with smbldap-useradd.pl + ldap backend
Yay, I finally got my samba 3 PDC working!
Following a variety of indirect hints I used the root account to join,
rather than trying to mess around with various groups and group
mappings. I had done this before, with no good effect, but checked more
carefully this time and found that it was my machine account that was
not being found, not the root account.
Further investigation shows that when
2005 Jan 11
1
smbldap-useradd error looking for next uid
/usr/local/sbin/smbldap-useradd -w computername
Error looking for next uid at
/usr/local/sbin///smbldap_tools.pm line 879, <DATA>
line 283.
I cannot add machines to the samba pdc because of
this...
everything else with samba/ldap seems to work, I have
the feeling it is related to this
# Where are stored Idmap entries (used if samba is a
domain member server)
# Ex
2007 Jan 27
0
debugging smbldap-useradd failures
Hi, I just thought I'd post here some notes after a loong bugsearch.
Keywords:
failed to perform search; Unexpected EOF
using Domain Admins to add machines
The problem was that I got this in the sambalog:
_samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
"machine$"' gave 127
Part of the problem was that this isn't a lot to go on, and the command
2005 Nov 02
0
how to get smbldap-useradd more verbose
Hello,
smbldap-useradd -w "pc1$" ; echo $?
returns a '141' and no other information.
(and even worse: no update in the LDAP database)
How can I get smbldap-useradd more verbose?
Is a 'set -x' or '#DEFINE DEBUG=1' possible on the smbldap-tools Perl
scripts?
Cheers
Geert Stappers
2009 Mar 13
0
smbldap-useradd/getent group problem
Hi,
I'm walking through Samba-Guide, chapter making happy users on Debian lenny.
It's hard to me, because I'm new to ldap. I add users with smbldap-useradd
-m -a xyz, smbldap-passwd xyz, smbpasswd xyz and they run without error.
getent passwd
xyz:x:1008:513:System User:/data/users/xyz:/bin/bash
id xyz
uid=1008(xyz) gid=513(Domain Users) groups=513(Domain Users)
Ok, so far, but: