Using SAMBA in AIX 5.3

Please help, I'm wicked... :confused:
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...

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

Hi Bakunin- I've seen your name a dozen times around, i feel honored :slight_smile: so here's what i got...

[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? :o

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

I added code tags on your post of your config. In future please use

```text
 and 
```

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.

[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.