vlan problem

hello,
I want to use a samba server and an ldap server in two different lans. but
win xp pc can not join to pdc domain.
i ping the ldap server and smbldap-usershow shows the users but the "net rpc
getsid" can not fetch sid and coputers can't be added to ldap.
any idea?
--
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

Re: Samba AD auth - Backup?

jamrock <news_jamrock <at> yahoo.com>
2009-03-01 10:37:35 GMT

"Mark Adams" <mark <at> campbell-lange.net> wrote in message
news:20090227122641.GA4688 <at> campbell-lange.net...
> Hi All,
>
> I haven't been able to track down any info on this so would be
> appreciative of any input. Links to any info on this would also be
> appreciated.
>
> Samba 3.2.5, Debian 5.0
>
> Question 1;
> Is there any way of setting up a "backup" windows domain controller in
> the samba config? so if they main dc is not available, it automatically
> queries the backup?
>
Take a look at Samba by Example chapter 5 "Making Happy Users". Great info.
on setting up PDC's and BDC's.
--
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

Re: vlan problem

whats the smb.conf of the samba server? did you do smbpasswd -w?
Mohammad Reza Hosseini wrote:
> hello,
> I want to use a samba server and an ldap server in two different lans. but
> win xp pc can not join to pdc domain.
> i ping the ldap server and smbldap-usershow shows the users but the "net rpc
> getsid" can not fetch sid and coputers can't be added to ldap.
> any idea?
>
--
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

Manually expire duplicate netbios name

Hi!
Yesterday, after migrating to a new server, I accidentally started an
identically configured smbd and nmbd on the old machine.
Since then, there are two netbios entries, even though the first host
(192.168.60.5) is down since yesterday:
# nmblookup -U localhost -R 'SAMBA'
querying SAMBA on 127.0.0.1
192.168.60.5 SAMBA<00>
192.168.60.3 SAMBA<00>
I've already tried to remove NBT/SAMBA#20\0 from
/var/lib/samba/gencache.tdb using tdbtool. Besides, I deleted suspicious
entried from wins.dat. (Both with or without nmbd running.)
Unfortunately I don't know how to remove them from wins.tdb.
When restarting nmbd, it complains that there is already a domain master
browser, but it queries it's own wins-server (192.168.60.3). (See below.)
Any hints on how I can manually delete the wrong ip address from the
netbios-cache / wins server?
Thanks,
--leo
Mar 1 18:58:08 samba nmbd[23487]: [2009/03/01 18:58:08, 0]
nmbd/asyncdns.c:start_async_dns(155)
Mar 1 18:58:08 samba nmbd[23487]: started asyncdns process 23488

Re: Samba AD auth - Backup?

Ryan Bair <ryandbair <at> gmail.com>
2009-03-01 20:15:33 GMT

Everything should be looked up by DNS. There's no notion of a PDC/BDC
in AD (although 2008 has readonly slaves I believe).
On Fri, Feb 27, 2009 at 7:26 AM, Mark Adams <mark <at> campbell-lange.net> wrote:
> Hi All,
>
> I haven't been able to track down any info on this so would be
> appreciative of any input. Links to any info on this would also be
> appreciated.
>
> Samba 3.2.5, Debian 5.0
>
> Question 1;
> Is there any way of setting up a "backup" windows domain controller in
> the samba config? so if they main dc is not available, it automatically
> queries the backup?
>
> Question 2;
> What is the best way to back up the UID/GID map? and can it be easily
> imported back to a new install if the server fails for any reason.
>
> Thanks
> Mark
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
--
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

Samba 3.0 AD Integration restrict users

Chris Henderson <henders254 <at> gmail.com>
2009-03-02 01:10:18 GMT

I have configured a Linux server so users can log in with their AD
credentials. However, I have a directory I would like to share and
restrict it to a few AD users. All these users will have read and
execute access but only two users will have write access.
The /srv/www/vhosts/marketing is the directory I would like to share.
It is owned by root:marketing both have 777 permission to that dir. I
have edited the /etc/group file and added one of the users to the
marketing group but while trying to log in I can see permission denied
when connecting to [marketing] in /var/log/messages
Following is my smb.conf file. Thanks for any help;
[global]
workgroup = AD
security = ADS
realm = domain.com
encrypt passwords = yes
preferred master = no
log level = 3
auth methods = winbind
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
idmap uid = 100000-200000
idmap gid = 100000-200000
netbios name = gandalf
password server = 172.16.20.34
template homedir = /home/%D/%U
template shell = /bin/bash

samba user stays at the syatem !!!

J. Bakshi <joydeep <at> infoservices.in>
2009-03-02 07:40:51 GMT

Dear list,
Here is a very strange problem !!!
I am using samba-3.0.25b-1.1.cc in clarkconnect server. No problem to
use the samba shares at all. Authentication works with no hitch. But
samba users stay at the system. I have just checked with "who" and found
there are 250 samba users from 1st of Jan !!!!!
I tried to fond out the pid by "who -a" and kill those but then it says
"no such pid" even I tried *smbstatus* but kill says no such pid. I
have really no clue what to do with this problem. Day by day this
system is flooded with more and more samba users.
Kindly suggest what to do. How can I kill those past samba users ? How
can I instruct samba no to have the continue with unlogged users ?
Please show me the way.
thanks
--
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

samba user stays at the syatem !!!

J. Bakshi <joydeep <at> infoservices.in>
2009-03-02 08:22:57 GMT

Dear list,
Here is a very strange problem !!!
I am using samba-3.0.25b-1.1.cc in clarkconnect server. No problem to
use the samba shares at all. Authentication works with no hitch. But
samba users stay at the system. I have just checked with "who" and found
there are 250 samba users from 1st of Jan !!!!!
I tried to fond out the pid by "who -a" and kill those but then it says
"no such pid" even I tried *smbstatus* but kill says no such pid. I
have really no clue what to do with this problem. Day by day this
system is flooded with more and more samba users.
Kindly suggest what to do. How can I kill those past samba users ? How
can I instruct samba no to have the continue with unlogged users ?
Please show me the way.
thanks
--
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

Setting up a Samba school for a school environment

Paul Hennion <paul <at> bhs.org.za>
2009-03-02 10:05:22 GMT

Hi All,
I have not used Samba for a couple of years and have recently looked into it to replace our
Novell Servers. I installed lenny and installed Samba 3.2.5. Looking at the configuration files
and the samba documentation i see a lot has changed.
Can someone please give me some direction on where to start, we are looking to setup a
pdc and bdc with an ldap backend, if that is still possible.
TIA,
Paul
--
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba