[Samba] error loading US-ASCII.so

2007-06-08 Thread Gaye Abdoulaye Walsimou

hello list,
I have this error :
Error loading module '/usr/local/samba/lib/charset/US-ASCII.so': Cannot 
open "/usr/local/samba/lib/charset/US-ASCII.so"

when I try to get samba status with the start up script
Samba is running under freebsd6.2-stable, I compile it from sources , with :
$./configure --with-quotas --with-ads --with-ldap 
CPPFLAGS="-I/usr/include -I/usr/local/include -I/usr/local/include/db44 
-I/usr/local/include/sasl" LDFLAGS="-L/usr/lib -L/usr/local/lib 
-L/usr/local/lib/db44 -L/usr/local/lib/sasl2/lib"

#gmake
#gmake install
thank for any suggestion
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] "not enough storage is available to process this command" error

2007-06-08 Thread Carl Brewer


Hello,
I have a Samba 3.0.24 server running on a NetBSD 3.1 (i386)
box, which has been very reliable for a long time, but
recently started to occasionally show the following error on PC's
connected to it running XP Pro and AutoDesk (AutoCAD) files:

z:\ is not available
Not enough storage is available to process this command


log.smbd shows this when it happens :

[2007/06/08 10:01:50, 0] lib/util.c:Realloc(1036)
  Memory allocation error: failed to expand to 4136 bytes
[2007/06/08 10:01:50, 0] lib/util.c:Realloc(1036)
  Memory allocation error: failed to expand to 4136 bytes

The server currently has 512MB of RAM and runs a few other
apps as well (squid, IPF, sendmail, it's a general LAN server). It
has loads of swap space available (~4GB)

Would that error suggest that I need to increase the memory limits that
NetBSD is imposing on the smbd process?  I think NetBSD
limits processes by default to 128MB.  These CAD files are
big (upwards of 1 GB), but they load ok, it's only when
the users are manipulating them that the problem occurs.  I
think autoDesk writes to files a lot, but don't really know
much about what it does.  I don't have a snapshot
of the memory footprint of smbd at the time, and it'll be a
bit tricky to get one quickly (the site isn't close to
me, and they're closed all weekend).

Any suggestions?

Thanks!

Carl

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Performance tweaking for lots of files

2007-06-08 Thread Björn Jacke
On 2007-06-07 at 11:57 +0200 Jeroen Akershoek sent off:
> First, this assumes all the same case (upper or lower), which isn't,
> well, the case.

to fix that, try:

convmv --lower -r /path/to/your/files/

depending on the files you might have to add your charset here, too:

convmv --lower -r -f utf8 /path/to/your/files/

if you have some million files, the --lowmem option is good.

Bjoern
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Logon scripts not working on all users

2007-06-08 Thread Matt Anderson
Boaz Bezborodko  mirrotek.com> writes:

> 
> I have set up a logon script to run when users login.  It works for me
> when I log in, but my user ID is mapped to a root group as well as
> administrative privileges.  But it is not executing for regular users.
> 
> What am I doing wrong?
> 
> Thanks in advance,
> Boaz
> 
> logon script = stdlogon.bat
> logon home =
> logon path =
> security = user
> preferred master = yes
> domain logons = yes
> time server = yes
> guest ok = no
> domain master = yes
> writable = no
> path = /data/printspool
> 
> [netlogon]
> 
> ; comment = Network Logon Service
> path = /var/lib/samba/netlogon
> 

Hi Boaz,

A couple things to check:
1) Check out the file system permissions on the folder /var/lib/samba/netlogon
on the server (cd to /var/lib/samba/ and do an ls -l).  Make sure that everyone
has Read access... it should look something like drwxr-xr-x.  (It should look
the same for stdlogon.bat inside that folder as well, or -rwxr--r-- instead)
2) If that's setup correctly, then, do you have any BDCs setup as well?  If so,
then the login script needs to be in both in the netlogon share for both the PDC
and BDC.

Hopefully that helps...

-Matt
3) If the file permissions look good and it's the only domain controller, 



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Logon scripts not working on all users

2007-06-08 Thread Boaz Bezborodko
I have set up a logon script to run when users login.  It works for me
when I log in, but my user ID is mapped to a root group as well as
administrative privileges.  But it is not executing for regular users.

What am I doing wrong?

Thanks in advance,
Boaz

logon script = stdlogon.bat
logon home =
logon path =
security = user
preferred master = yes
domain logons = yes
time server = yes
guest ok = no
domain master = yes
writable = no
path = /data/printspool

[netlogon]

; comment = Network Logon Service
path = /var/lib/samba/netlogon


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Windows 2003 Intermittent problem

2007-06-08 Thread Scott
Hello, we have been running a linux machine on a Windows 2000 network for a 
couple of years with Samba 3.0.9/RedHat EL and have had no worries. The network 
staff recently upgraded two DCs to Windows 2003 (one was the PDC emulator) and 
there are several remaining Windows 2000 Domain Controllers. Now we are 
experiencing intermittent problems. Sometimes we are not able to see the Linux 
server at all, sometimes we see the Linux server but cannot access shares (we 
get the pop up window asking for name/password), sometimes it works perfectly. 
Sometimes logging off and back on will grant us access to the shares but not 
always. 

We have already tried disabling SMB Message Signing and enabling NTLM 
authentication on the DCs with no luck. 
Restarting the Linux services does not appear to affect things one way or the 
other. 
We are able to see users and groups in the Active Directory through wbinfo and 
getent.
We are able to connect to Windows shares from the Linux box.
We are able to get tickets with kinit.
We are able to use smbclient to retrieve files from Windows shares.
Apache is able to get user name information from the domain.
The Samba server is on the same network as the PDC, so there shouldn't be any 
delay over slow links.

Any help is greatly appreciated.

Thank you,
Scott

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Recycler error

2007-06-08 Thread Joel Braverman
Hello,

How would I go about finding out the meaning of this error:

Backup list requests:
> nmbd/nmbd_incomingdgrams.c:domain list requested for workgroup
> XXX and I am not a domain master browser. : 12 Time(s)
>
>  **Unmatched Entries**
>  modules/vfs_recycle.c:recycle_create_dir(284)  recycle: mkdir failed
> for .Recycler/HowTo/DESKTOP with error: Permission denied : 2 Time(s)
>  modules/vfs_recycle.c:recycle_create_dir(284)  recycle: mkdir failed
> for .Recycler/ITS with error: Permission denied : 4 Time(s)
>

Thanks

 - J


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba and Vista?

2007-06-08 Thread Marc Chamberlin

Adam Tauno Williams wrote:
I just purchased a new HP laptop running Vista Home Premium on it, 
turned it on and was able to get it to connect to the Internet through 
my home wireless network. But when I tried to see other computers on my 
network I got nadda... One of my computers is running Win2K so perhaps 
that is understandable, one XP Pro which I don't understand why Vista 
can't see it, and three of my computers are running SuSE Linux 10.1 and 
10.2 with Samba servers.  All of my computers can see the Vista laptop, 
and mount shares from it, so that part of Samba on the Linux machines 
seems to be working fine.
Doing a bit of research into this problem I discovered that Microsoft 
has implemented a network protocol called Link Layer Topology Discovery 
(LLTD) that is suppose to allow a Vista computer to discover the 
services provided by other computers on a network.



I don't think LLTD has anything to do with your Vista box not being able
to see CIFS hosts.  The problem is almost certainly on your Vista box
(as all the others work).  Did you try just turning off your firewall?

I don't think this is a Samba problem.

  
Thanks Adam for your reply...  yes I have tried turning off the 
firewall(s). It is interesting that you should ask about firewalls 
though, initially when I got this laptop there were two firewalls 
running on it, Windows, and Nortons...(Guess HP wanted to make doubly 
sure my laptop would be safe when they sent it to me LOL)  Took me 
awhile to track that issue down, but once I discovered Nortons was 
running and blocking all network traffic I turned it off. That allowed 
all the other computers on my home network to start seeing my Vista 
laptop, but not vice versa...


I now have another clue to add in, I took my laptop in to work and there 
it discovered all the other computers on the network. (made no changes 
to firewall settings and left it running) But none of the computers at 
work are running with Linux, just Windows mostly XP. And another 
oddity... When my laptop was at work, it apparently used a number of 
different discovery methods including NetBios which is what I think 
should be the one to use for discovering other computers on my home 
network... not sure about that, I am new to all this, so my depth of 
understanding is not all that deep... At home the only network discovery 
method that Vista seems to use is WSD which I think stands for Web 
Services for Devices what ever that is...


I sort of think that you are possibly right though - that Samba is not 
the source of this problem, and from the tone of your reply I gather 
that other folks running Vista and Samba/Linux have no problems seeing 
Samba shares from the Vista computer? So that points to the HP 
laptop/Vista.. It is odd though that all my other computers at home can 
see each other just fine, and see the Vista laptop, but the Vista laptop 
cannot see them... I am about to install SuSE on the laptop an see if it 
sees the other computers but that is not much of a test for Vista


  Marc...


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] string overflow in rpcclient add "printer" driver command

2007-06-08 Thread Emanuel Moura dos Santos
-- Cabeçalho original ---

De: "Jeremy Allison" [EMAIL PROTECTED]
Para: "Emanuel Moura dos Santos" [EMAIL PROTECTED]
Cópia: samba@lists.samba.org
Data: Wed, 6 Jun 2007 17:33:19 -0700
Assunto: Re: [Samba] string overflow in rpcclient add "printer" driver command

> On Wed, Jun 06, 2007 at 06:36:28PM -0300, Emanuel Moura dos Santos wrote:

> > I get the folowing error msg in rpcclient -c 'adddriver' command:
> >
> > ERROR: string overflow by 1 (1024 - 1023) in safe_strcpy [adddriver 
> > "Windows NT x86" "My Driver Name 001:aaa]

> > My command is like this:
> >
> > rpcclient MYSRV -s /etc/samba/smb.conf -A auth.txt -c 'adddriver "Windows 
> > NT x86" "My Driver Name 001:
> >   aa.001:aa.002:aa.003:aa.004::NULL:aa.001,
> >   . bla bla bla ... bbb.022, ... bla bla bla ...
> >   aaa.077,ccc.078"'

> Good catch. Can you try this patch instead ? Let me know if it works and
> I'll check it in.

Thanks. The your patch is Ok. But, second part of my initial report stay 
loosing files. The ntdrivers.tdb file
cut my file list.


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Bugzilla, et. al. web servers back up

2007-06-08 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Folks,

Sorry for the delay.  It's been a bit of a long week due to
some hardware issues.  New server is online now with an HA
mirror on the way.

So bugzilla, wiki, people, projects, news, viewcvs, & websvn
are back online now.





cheers, jerry

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGabkXIR7qMdg1EfYRAldMAJ0cv8sHCBpzuy8G2c7MCnfbg3UEAgCgve2C
Vy0NXLXHHd6TLoHsURs5cNY=
=ngFn
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba and Vista?

2007-06-08 Thread Adam Tauno Williams
> I just purchased a new HP laptop running Vista Home Premium on it, 
> turned it on and was able to get it to connect to the Internet through 
> my home wireless network. But when I tried to see other computers on my 
> network I got nadda... One of my computers is running Win2K so perhaps 
> that is understandable, one XP Pro which I don't understand why Vista 
> can't see it, and three of my computers are running SuSE Linux 10.1 and 
> 10.2 with Samba servers.  All of my computers can see the Vista laptop, 
> and mount shares from it, so that part of Samba on the Linux machines 
> seems to be working fine.
> Doing a bit of research into this problem I discovered that Microsoft 
> has implemented a network protocol called Link Layer Topology Discovery 
> (LLTD) that is suppose to allow a Vista computer to discover the 
> services provided by other computers on a network.

I don't think LLTD has anything to do with your Vista box not being able
to see CIFS hosts.  The problem is almost certainly on your Vista box
(as all the others work).  Did you try just turning off your firewall?

I don't think this is a Samba problem.

-- 
Adam Tauno Williams, Network & Systems Administrator
Consultant - http://www.whitemiceconsulting.com
Developer - http://www.opengroupware.org

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba and Vista?

2007-06-08 Thread Marc Chamberlin
I just purchased a new HP laptop running Vista Home Premium on it, 
turned it on and was able to get it to connect to the Internet through 
my home wireless network. But when I tried to see other computers on my 
network I got nadda... One of my computers is running Win2K so perhaps 
that is understandable, one XP Pro which I don't understand why Vista 
can't see it, and three of my computers are running SuSE Linux 10.1 and 
10.2 with Samba servers.  All of my computers can see the Vista laptop, 
and mount shares from it, so that part of Samba on the Linux machines 
seems to be working fine.


Doing a bit of research into this problem I discovered that Microsoft 
has implemented a network protocol called Link Layer Topology Discovery 
(LLTD) that is suppose to allow a Vista computer to discover the 
services provided by other computers on a network. I wonder - does Samba 
support this and if so do I have to do anything special to turn on 
support for this protocol? I looked through the SWAT settings for Samba 
and could find no mention of this protocol. SWAT reports I am running 
version 3.0.22-13.18-SUSE-CODE10 if that helps, perhaps I need a newer 
version of Samba?


Thanks for any help/advice offered...   Marc...


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] testing samba performance

2007-06-08 Thread Chris Smith
There's a number of threads regarding Samba performance and I would like to 
ask what methods and tools are being employed in order to measure and compare 
this performance.

Thanks.

Chris
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba giving up. How to debug ?

2007-06-08 Thread Adam Tauno Williams
> just a few minutes ago our samba file server stops working.

My first guess would be - it isn't a Samba problem.  My second guess
would be that something went wrong with winbind (if you are using
winbind).  If you are not using winbind I'd go back to my first guess
that Samba is being effected by an underlying OS issue.

Just my experience.  But "suddenly stops working" isn't usually a Samba
thing.  It usually means NSS (or equivalent) in the OS has gone donkers,
or something is wedged trying to write to a log file (file to big,
insufficient disk space), etc...  I've seen some pretty obscure things
cause this kind of behaviour.

-- 
Adam Tauno Williams, Network & Systems Administrator
Consultant - http://www.whitemiceconsulting.com
Developer - http://www.opengroupware.org

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba giving up. How to debug ?

2007-06-08 Thread Dr.Peer-Joachim Koch

Hi,

just a few minutes ago our samba file server stops working.
The system seems to work fine with old sessions,
but new sessions could not be started.
A simple restart of the smbd solved the problem, but we
want to know WHY and WHAT happend ...
The file sytem was reachable. The log shows not "error"
messages. But we to not nknow the exact time, when the
problem started.

It's always nice to have such kind of problems on friday
afternoon.


Hardware: SUN X4100 4GB RAM, QLA 2460 (60 LUN's ~30TB disk)
Software: SLES 9, SP3, samba-3.0.20b-3.4

smb.conf (not all shares)

What else should I submit ?

Thank's for your help !

Bye, Peer


smb.conf-
[global]
workgroup = BGC
server string = DVA. BGC SNFS Fileserver for HOMES
netbios name = SNFS_1
netbios aliases = ORCA RHEA ATLAS
interfaces = eth0
security = domain
password server = *
printing = cups
printcap name = cups
printcap cache time = 0
cups options = raw
printer admin = @ntadmin, root, administrator
map to guest = Bad User
log file = /var/log/samba/%m.log
read only = no
unix charset = UTF-8
display charset = UTF-8


[homes]
comment = Homedirectories %U
path = /User/homes/%U
create mask = 0750
guest ok = Yes
browseable = No
read only = no



--
Mit freundlichem Gruss
Peer-Joachim Koch
_
Max-Planck-Institut fuer Biogeochemie
Dr. Peer-Joachim Koch
Hans-Knöll Str.10Telefon: ++49 3641 57-6705
D-07745 Jena Telefax: ++49 3641 57-7705
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Correct method to Join Domain ????

2007-06-08 Thread Mike Rushton
And that should work for XP clients too ??? 

Even if I don't go with Samba / Linux I am gonna have to figure out how 
to work w/. another domain, 



Thanks




Julian Pilfold-Bagwell wrote:


Mike Rushton wrote:

I am testing w/ a PC loaded w/ Centos 5 and Samba (whatever version 
it came with)
I have not had any luck with connecting WinXP clients to it (or 
anything for that matter)

I think my problems stem from not joining the domain correctly.
What is the proper method for Win XP or WIn 2K .  When I get a chance 
I am gonna connect a PC to my test network. To join a domain, you 
would need (at least for NT)


Name of Domain
Admin account
Password for admin account
A unique Network Name for the PC.
And you typically (at least thru XP) right click on the Computer 
Icon, > Properties > Network and Join the domain or change machine 
name to get on.


What do you do for Limux / Samba ???
You need,

root account, ???
root password ??? Uniique machine name ???  Do you try to join domain 
is same manner or is there a config file you got to edit  ???


Any help or advice is welcome.


Hiya,

You need this document:

http://samba.org/samba/docs/man/Samba-Guide/unixclients.html#wdcsdm

There's also additional info in the samba docs at samba.org. 
Particularly useful are Samba 3 by example and the Samba 3 Howto.


Cheers,

jools





--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Who is domain controller for DHCP, DNS, IIS etc

2007-06-08 Thread Henrik Zagerholm


8 jun 2007 kl. 10:51 skrev Brijesh Shukla:


I am trying te set up a test lab to test my application.
In my test lab I need to install Domain Controller (With Active  
Directory) ,

DNS server , IIS Server and DHCP server.
I have to install each server on different test machine.
for example

Domain Server(Active Directory) on Machine-1
DNS server on Machine-2
IIS Server on Machine-3
DHCP Server on Machine-4

for example domain name is "MYLAB.TEST"

I am confuse after installation,
Do i need to make Machine-1 as a domain controller for all other  
server

server (e.g ..DNS on Machine-2,IIS Server on Machine-3
DHCP Server on Machine-4)
If Yes then
Which machine will boot first
If I boot my DHCP server first then how could it get its domain  
controller
If I boot my Domain Controller first how could it get Dynamicaly  
address

from DHCP server..
Same question for IIS and DNS..

Do i really need to worry about racing for first boot among the  
machines...

Kindly teach me


What does this have to do with samba?
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba -> WinXP: slow transfers, partial solution

2007-06-08 Thread Marcello Romani


Alexander Tsvyashchenko wrote:
> 
> 
> Hello All,
> 
> I'm running Samba 3.0.24 as PDC and file server on Gentoo Linux,  
> AMD64, 2.6.19 kernel, 100MBit/s network, and experience quite slow  
> file transfers from Samba to WinXP SP2 clients: the speed is varying,  
> but is about 1-2Mb/s at best.
> 
> I spent quite some time investigating the issue, here are the  
> intermediate results:
> 
> 1) This happens only when transferring _from_ _Samba_ to _WinXP_.
> 
> All other combinations are unaffected:
> 
>   a) Transferring from WinXP to Samba server is at 10Mb/s.
> 
>   b) Transfering to/from Samba server from Gentoo Linux on the same PC  
> where WinXP is installed (so, completely the same hardware and  
> connection) is also at normal speed.
> 
>   c) Transferring to/from WinXP to the server where Samba is installed  
> using any other protocol (such as HTTPS or SCP) is also at normal speed.
> 
> 2) CPU is at almost idle level both at client and server, so it's not  
> the issue.
> 
> 3) If there is any other network activity, transfer speed is increased  
> up to normal level: f.e. doing two simulteneous transfers from Samba  
> server to WinXP client gives 5Mb/s at each transfer, as expected.
> 
> 4) Running tcpdump on server while the transfer is performed improves  
> transfer speed in about 1.5 - 3 times, but still not to the normal  
> speed.
> 
> 5) Playing with "socket options" does not give any results.
> 
> Specifically, using advices from the article  
> http://www.dd.iij4u.or.jp/~okuyamak/Documents/tuning.english.html  
> about SO_SNDBUF does not improve situation (but read below).
> 
> 6) tcpdump + tcptrace show that there are a lot of retransmissions,  
> see dumps below.
> 
> 7) I've tested several WinXP clients with different hardware, all with  
> the same results.
> 
> 8) Samba logs looks normal to me, nothing special.
> 
> Points (3) and (5), and also the article about SO_SNDBUF tuning gave  
> me an idea that there might be smth wrong with ACKs sent from WinXP.
> 
> I've tried to search for problems with ACK delays in WinXP and found  
> the following articles:
> 
> http://support.microsoft.com/kb/328890
> http://support.microsoft.com/kb/321098
> 
> Based on them, I've done the following changes in WinXP registry:
> 
>   - set TcpAckFrequency to 1 to switch off delayed ACKs
>   - set TcpDelAckTicks to 0 to disable delayed ACKs timer
> 
> These changes did not help on their own. But combining them with the  
> change of SO_SNDBUF to 1500 suddenly improved the speeds up to about 6  
> Mb/s!
> 
> It appeared that with these registry changes, setting SO_SNDBUF to any  
> value in the range 1404 - 1872 gives the same speed of 6.0 - 6.4 Mb/s,  
> while changing it even one byte lower / higher immmediately drops the  
> speed to less than 1Mb/s.
> 
> However, while this is partial solution I could live with, this is  
> still not the normal speed, so I still would like to find the way to  
> bring it to normal values.
> 
> It seems that I'm not the only one who have similar problems: see BUGs  
> 2117 and 3706 in Bugzilla, and discussion at Gentoo mailing list:  
> http://forums.gentoo.org/viewtopic-p-2820556.html
> 
> Please, let me know if any other information may be needed or if there  
> are any other tests I can do to pin down the problem ...
> 
> I'm attaching tcptrace logs for several sessions
> (all transfers are from Samba server to WinXP with registry changes
> applied,
> all transfers are done with the same file of the size 338Mb).
> 
> 1) Samba -> WinXP without SO_SNDBUF set.
> (note that due to the "tcpdump effect" the speed is higher than in
> reality,
> also please note big number of retransmits)
> 
> 
> TCP connection 3:
>   host e:***client***:1314
>   host f:***server***:445
>   complete conn: no   (SYNs: 0)  (FINs: 0)
>   first packet:  Sat Apr 14 15:05:57.502839 2007
>   last packet:   Sat Apr 14 15:07:53.234397 2007
>   elapsed time:  0:01:55.731558
>   total packets: 425593
>   filename:  snd_buf_off.log
> e->f:   f->e:
>   total packets:175858   total packets:249735
>   ack pkts sent:175858   ack pkts sent:249735
>   pure acks sent:   164954   pure acks sent:8
>   sack pkts sent:0   sack pkts sent:0
>   dsack pkts sent:   0   dsack pkts sent:   0
>   max sack blks/ack: 0   max sack blks/ack: 0
>   unique bytes sent:690320   unique bytes sent: 356048963
>   actual data pkts:  10904   actual data pkts: 249727
>   actual data bytes:690320   actual data bytes: 356319077
>   rexmt data pkts:   0   rexmt data pkts: 195
>   rexmt data bytes:  0   rexmt data bytes: 270114
>   zwnd

[Samba] Who is domain controller for DHCP, DNS, IIS etc

2007-06-08 Thread Brijesh Shukla

I am trying te set up a test lab to test my application.
In my test lab I need to install Domain Controller (With Active Directory) ,
DNS server , IIS Server and DHCP server.
I have to install each server on different test machine.
for example

Domain Server(Active Directory) on Machine-1
DNS server on Machine-2
IIS Server on Machine-3
DHCP Server on Machine-4

for example domain name is "MYLAB.TEST"

I am confuse after installation,
Do i need to make Machine-1 as a domain controller for all other server
server (e.g ..DNS on Machine-2,IIS Server on Machine-3
DHCP Server on Machine-4)
If Yes then
Which machine will boot first
If I boot my DHCP server first then how could it get its domain controller
If I boot my Domain Controller first how could it get Dynamicaly address
from DHCP server..
Same question for IIS and DNS..

Do i really need to worry about racing for first boot among the machines...
Kindly teach me

Thanks in advance
Brijesh Shukla
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Join Linux client to Samba PDC domain

2007-06-08 Thread Henrik Zagerholm


8 jun 2007 kl. 09:56 skrev Julian Pilfold-Bagwell:


Matt wrote:

Now I want the same thing in a different environment
CentOS Samba PDC in domain mode and LDAP
Windows XP and Vista clients joined to the Samba domain
Linux File Server (which I don't know how to configure)
So I want all the Windows clients to be able to access the shares  
on  my LInux File Server but I want my CentOS Samba PDC to handle  
the  authentication with Singel-Sign-On style.


How would I configure my Linux Files server? security = domain,   
server, or?


Thanks,
Henrik



Hi Henrik,

I just did a similar thing setting up an AIX file server with a  
Linux-based
Samba PDC.  I'm pretty sure you want to set the Linux file server  
up as a domain

member server:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain- 
member.html


You're right on with security=domain.  Then you just have to add  
the LDAP admin
stuff to the samba config and secrets database (i.e. smbpasswd -w  
[LDAP admin

passwd goes here], net rpc getsid [domain name here], net rpc join
-Uroot%[password goes here]) and a few other config steps outlined  
in the link I

put above...

Hopefully that gets you started int he right direction.

-Matt




Hiya,

You need this document:

http://samba.org/samba/docs/man/Samba-Guide/unixclients.html#wdcsdm

There's also additional info in the samba docs at samba.org.  
Particularly useful are Samba 3 by example and the Samba 3 Howto.

Ahh spot on! Thanks!



Cheers,

jools
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Join Linux client to Samba PDC domain

2007-06-08 Thread Henrik Zagerholm


7 jun 2007 kl. 21:19 skrev Matt:




Now I want the same thing in a different environment
CentOS Samba PDC in domain mode and LDAP
Windows XP and Vista clients joined to the Samba domain
Linux File Server (which I don't know how to configure)
So I want all the Windows clients to be able to access the shares on
my LInux File Server but I want my CentOS Samba PDC to handle the
authentication with Singel-Sign-On style.

How would I configure my Linux Files server? security = domain,
server, or?

Thanks,
Henrik


Hi Henrik,

I just did a similar thing setting up an AIX file server with a  
Linux-based
Samba PDC.  I'm pretty sure you want to set the Linux file server  
up as a domain

member server:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain- 
member.html




You're right on with security=domain.  Then you just have to add  
the LDAP admin
stuff to the samba config and secrets database (i.e. smbpasswd -w  
[LDAP admin

passwd goes here], net rpc getsid [domain name here], net rpc join
-Uroot%[password goes here]) and a few other config steps outlined  
in the link I

put above...

Hopefully that gets you started int he right direction.

-Matt


Hi Matt,

Thanks for that input. Exactly what I was looking for. Darn I though  
I skimmed through the docs but I guess I didn't know to look for  
Member server configuration.
And it looks like I can use winbind too! Cool :). Thought that  
winbind was only meant to work in an MS ADS environment but I guess I  
can use it in an Samba domain also.


Thanks again.

Cheers,
henrik



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Join Linux client to Samba PDC domain

2007-06-08 Thread Julian Pilfold-Bagwell

Matt wrote:

Now I want the same thing in a different environment
CentOS Samba PDC in domain mode and LDAP
Windows XP and Vista clients joined to the Samba domain
Linux File Server (which I don't know how to configure)
So I want all the Windows clients to be able to access the shares on  
my LInux File Server but I want my CentOS Samba PDC to handle the  
authentication with Singel-Sign-On style.


How would I configure my Linux Files server? security = domain,  
server, or?


Thanks,
Henrik



Hi Henrik,

I just did a similar thing setting up an AIX file server with a Linux-based
Samba PDC.  I'm pretty sure you want to set the Linux file server up as a domain
member server:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.html

You're right on with security=domain.  Then you just have to add the LDAP admin
stuff to the samba config and secrets database (i.e. smbpasswd -w [LDAP admin
passwd goes here], net rpc getsid [domain name here], net rpc join
-Uroot%[password goes here]) and a few other config steps outlined in the link I
put above...

Hopefully that gets you started int he right direction.

-Matt


  

Hiya,

You need this document:

http://samba.org/samba/docs/man/Samba-Guide/unixclients.html#wdcsdm

There's also additional info in the samba docs at samba.org. 
Particularly useful are Samba 3 by example and the Samba 3 Howto.


Cheers,

jools
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Correct method to Join Domain ????

2007-06-08 Thread Julian Pilfold-Bagwell

Mike Rushton wrote:
I am testing w/ a PC loaded w/ Centos 5 and Samba (whatever version it 
came with)
I have not had any luck with connecting WinXP clients to it (or 
anything for that matter)

I think my problems stem from not joining the domain correctly.
What is the proper method for Win XP or WIn 2K .  When I get a chance 
I am gonna connect a PC to my test network. 
To join a domain, you would need (at least for NT)


Name of Domain
Admin account
Password for admin account
A unique Network Name for the PC.
And you typically (at least thru XP) right click on the Computer Icon, 
> Properties > Network and Join the domain or change machine name to 
get on.


What do you do for Limux / Samba ???
You need,

root account, ???
root password ??? Uniique machine name ???  Do you try to join domain 
is same manner or is there a config file you got to edit  ???


Any help or advice is welcome.


Hiya,

You need this document:

http://samba.org/samba/docs/man/Samba-Guide/unixclients.html#wdcsdm

There's also additional info in the samba docs at samba.org. 
Particularly useful are Samba 3 by example and the Samba 3 Howto.


Cheers,

jools
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba