Using SAMBA in AIX 5.3


 
Thread Tools Search this Thread
Operating Systems AIX Using SAMBA in AIX 5.3
# 1  
Old 08-14-2009
Using SAMBA in AIX 5.3

Please help, I'm wicked... Smilie
I'm trying to get Samba to work on an IBM pseries machine (AIX 5.3) to provide access to the server for a user to retrieve reports from her WinXP desktop. I've made the proper entires in the smb.conf file and tried runing the smbpasswd command to add the user to the file but it did not except the command. there may also be some other things that im missing. could somone let me know what im missing, or if there are any procedures in place anywhere...
# 2  
Old 08-14-2009
I'm not sure if i really should help wicked people... ;-))

How about posting all the relevant information about your problem: the contents of the smb.conf file, the relevant parts of the setup, what you have done so far, error messages you have gotten, etc.. Right now i just know that you have tried something and it didn't work somehow - which could be because of a gazillion of reasons, definitely too many to write them down here.

Here is a link which might help you: How to ask questions the smart way

bakunin
# 3  
Old 08-14-2009
Samba

Hi Bakunin- I've seen your name a dozen times around, i feel honored Smilie so here's what i got...
Code:
[root@america /usr/local/samba/lib]# cat smb.conf
[apacheco]
   comment     = Share for Andrea Pacheco
   path        = /usr/cqreports/apacheco
   browseable  = yes
   read only   = yes
   writeable   = no
   create mode = 0755
   guest ok    = yes
   public      = yes
   valid users = apacheco
[rmarzill]
   comment     = Share for Rosemary Marzilli 
   path        = /usr/cqreports/rmarzill
   browseable  = yes
   read only   = yes
   writeable   = no
   create mode = 0755
   guest ok    = yes
   public      = yes
   valid users = rmarzill 
[trandal]
   comment     = Share for Timothy Randall 
   path        = /usr/cqreports/trandal
   browseable  = yes
   read only   = yes
   writeable   = no
   create mode = 0755
   guest ok    = yes
   public      = yes
   valid users = trandal
[root@america /usr/local/samba/private]# cat smbpasswd
ma9dpr:346:01FC5A6BE7BC6929AAD3B435B51404EE:0CB6948805F797BF2A82807973B89537:[UX         ]:LCT-3FCCFEC5:
hjarvis:382:91722D792404E3AA1D71060D896B7A46:63795577C3FB8C3AB7F5758C22C1C4F0:[UX         ]:LCT-3FE74EF6:
pmastrof:384:0687BF5F0CA602A7AAD3B435B51404EE:B208B1F23E2A65E610B50AC33CCBDB1D:[UX         ]:LCT-3FE74F13:
cwylie:418:563E4A150B52C9D44549DE11F7E8CCC2:9FBDCEBD3E44985A6B435A3B0874269E:[UX         ]:LCT-41864A18:
rforget:419:39118A81D5BBAF47C2265B23734E0DAC:08555A3DCCE6FE433639BAE402AE1099:[UX         ]:LCT-41864A4A:
pvelho:466:49AB891F0FD6831EAAD3B435B51404EE:85AC333BBFCBAA62BA9F8AFB76F06268:[UX         ]:LCT-46409457:
rrodrig:546:CCA7D43A2C8F256ADF7AC61D1F75C8FE:4BC9045300AA028952888E2D2A5D4F00:[UX         ]:LCT-49F84F18:


...its primarily the top user that we want to help. She gets the login prompt when opening a mapped drive on her XP machine, which is supposed to point to the Unix server ("America"). The user ID field prefills to "america\Guest" and is dithered out, disallowing her from inserting the proper ID. Does this make sense so far? Smilie

Last edited by zaxxon; 08-21-2009 at 09:56 AM.. Reason: code tags
# 4  
Old 08-21-2009
may be you should do little more research on the google.com or use the search option of UNIX.COM and you will find the answer
# 5  
Old 08-21-2009
I added code tags on your post of your config. In future please use [code] and [/code] tags when posting code, data or logs etc. to enhance readability and to keep formatting like indention etc., ty.


Here is an example of my working samba on my Debian box. AIX samba will take the same syntax. I am missing a [global] part in your config. Maybe you can get something useful out of my config. The share is not browsable - they have to add a network share whilst writing the path to it etc. also entering that username "junky" and it's pw.

Code:
[global]
        log file = /var/log/samba/%m.log
        smb passwd file = /etc/samba/smbpasswd
        load printers = no
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        interfaces =
        hosts allow =   somehost1 somehost2 somehost3 \
                        somehost4 somehost5
        encrypt passwords = true
        case sensitive = yes
        dns proxy = no
        server string = Samba Server
        local master = no
        workgroup = whatever
        os level = 20
        security = user
        preferred master = no
        max log size = 10000
        bind interfaces only = yes

[data]
   comment = Debian Box Service
   path = /data
   valid users = junky
   public = no
   writable = yes
   printable = no

This user "junky" is in the smbpasswd of course and also in the passwd of the box.

Maybe you check your logfile for clues. If it doesn't write one, get the log file definition of my config.

Last edited by zaxxon; 08-24-2009 at 04:07 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Samba 3.6 on AIX 7.1 - Windows 10 Access to AIX file shares using Active Directory authentication

I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users. The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies

2. AIX

Trying to get Samba 4.x running on AIX 7.1?

Hello, I have an AIX 7.1 Power8 machine on which I have a working copy of Samba 3.6 installed using perzl.org repo. The issue I am running into is, Samba 3.6 supports the more secure SMB2 protocol but its tools (smbclient) do not, only in 4.1 did Samba add support for SMB2 to their utilities.... (1 Reply)
Discussion started by: c3rb3rus
1 Replies

3. AIX

New to AIX need help Installing/Upgrading Samba on AIX 7.1?

Hello, I am trying to update Samba on my AIX 7.1 system as there is an issues with it, the smbd process coredumps and I have had no luck figuring it out why. My approach is to try to re-install a newer samba and I have found the latest 3.x package for samba in ppc.rpm format at perlz.org ... (6 Replies)
Discussion started by: c3rb3rus
6 Replies

4. UNIX Desktop Questions & Answers

Can't mount samba on AIX with ntlmv2

Hi guys, I'm trying to mount a share from Win2003 on AIX with ntlmv2. It doesn't seem to work as Windows keep complaining about a wrong username/password. I've added "client ntlmv2 auth = yes" to smb.conf. I have tested the account/username/hostname/ip address with smbclient and it seems... (4 Replies)
Discussion started by: kress
4 Replies

5. AIX

Installing Samba on AIX 5.3

Hello, I need assistance installing Samba on AIX 5.3 TL06. Smitty Install produces the following error message: Command: failed stdout: yes stderr: no Before command completion, additional instructions may appear below. geninstall -I "a -cgNQqwXY -J" -Z -d... (5 Replies)
Discussion started by: tgray71
5 Replies

6. AIX

Samba install on AIX 5.2

Ok I'm still trying to figure AIX out, I was used to HP-UX until they switched our server to AIX in February and all of the other servers are Linux which appears to be much more friendly. AIX is, well, NOT. I am trying to install Samba so I can copy files onto a Windows SQL server - that's all... (5 Replies)
Discussion started by: rball
5 Replies

7. AIX

Samba on AIX 4.3

I have 11 AIX (a mix of 4.3.3.0 and 4.3.2.0) on which I succesfully installed a Samba server. On two other systems, the smbd start command generates the following error message. Anybody ? itocroot@TAGEN010: /usr/local/samba/bin $ ./smbd start exec(): 0509-036 Cannot load program ./smbd because... (0 Replies)
Discussion started by: Frans Graux
0 Replies

8. UNIX for Dummies Questions & Answers

Samba on AIX 5.3

I have never installed Samba before and am having trouble. I downloaded the opt-samba-base.tar and the opt-samba-3.0.26a-AIX5 file as well and while it appears they both installed okay but it never created the /etc/samba or /usr/local/samba directories - just the /opt/pware/samba directory. I... (2 Replies)
Discussion started by: capeme
2 Replies

9. AIX

Samba 3.0 and AIX 5.3

I'd like to make my AIX 5.3 box a member of my Windows 2003 AD. Is this possible? If so, what are the steps? What I'm really after is a way for my windows users to access files on my Samba shares with the exact same permissions, owner, etc. as they use when accessing files on a windows directory. (1 Reply)
Discussion started by: adamteam
1 Replies

10. AIX

Setting Up Samba for AIX

Hi all I want to know how do I create a print queue using samba on AIX enviroment to print to file. Setup step require. Anyone please help me on this. Vincent (2 Replies)
Discussion started by: vwong
2 Replies
Login or Register to Ask a Question